import Vue from 'vue'

import {
    Button,
    Swipe,
    SwipeItem,
    Lazyload,
    Search,
    Icon,
    Tag,
    List,
    Cell,
    Grid,
    GridItem,
    Card,
    Tabbar,
    TabbarItem,
    Sticky,
    DropdownMenu,
    DropdownItem,
    Empty,
    Toast,
    Pagination,
    Form,
    Field,
    Col,
    Row,
    Popup,
    Tab,
    Tabs,
    GoodsAction,
    GoodsActionIcon,
    GoodsActionButton,
    Stepper,
    SubmitBar,
    Checkbox,
    CheckboxGroup,
    Sidebar,
    SidebarItem,
    SwipeCell
} from 'vant'

Vue.use(SwipeCell);
Vue.use(Sidebar);
Vue.use(SidebarItem);
Vue.use(Checkbox);
Vue.use(CheckboxGroup);
Vue.use(SubmitBar);
Vue.use(Stepper);
Vue.use(GoodsAction);
Vue.use(GoodsActionButton);
Vue.use(GoodsActionIcon);
Vue.use(Tab);
Vue.use(Tabs);
Vue.use(Popup);
Vue.use(Col);
Vue.use(Row);
Vue.use(Form);
Vue.use(Field);
Vue.use(Pagination);
Vue.use(Toast);
Vue.use(Empty);
Vue.use(DropdownMenu);
Vue.use(DropdownItem);
Vue.use(Sticky);
Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(Card);
Vue.use(Grid);
Vue.use(GridItem);
Vue.use(List);
Vue.use(Cell);
Vue.use(Button);
Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(Search);
Vue.use(Tag);
Vue.use(Icon);
Vue.use(Lazyload, {
    loading: require("../assets/images/loading.gif")
});